/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package sda.levelup.library;

/**
 *
 * @author Дима
 */
public class Main
{
    public static void main(String[] args) {
        Library lib = new Library();
        /*lib.addBookToFile(new Book("1|Arthur Conan Doyle|A Scandal in Bohemia"));
        lib.addBookToFile(new Book("2|Arthur Conan Doyle|The Final Problem"));
        lib.addBookToFile(new Book("3|Arthur Conan Doyle|A Study in Scarlet"));
        lib.addBookToFile(new Book("4|Harper Lee|To Kill a Mockingbird"));
        lib.addBookToFile(new Book("5|Robert Heinlein|The Door into Summer"));*/
        
        System.out.println(lib.findBookById(4));
        System.out.println(lib.findBookByName("The Door into Summer"));
        
        
        
    }
}
